package com.ag.admin.service;

import javax.servlet.http.HttpSession;

/**
 * 权限验证服务接口
 * 
 * @author 黎肇明
 * 
 */
public interface IAuthorizeService {
	/**
	 * 检查标签授权
	 * 
	 * @param userSession
	 * @param permission
	 */
	public boolean checkCompetence(HttpSession session, String permission);

	public boolean checkRole(HttpSession session, String roleID);

	/**
	 * 符合角色则返回TRUE，否则返回FALSE
	 */
	public boolean checkRoleGen(HttpSession session, String roleID);

	public boolean checkSubmitDisposition(HttpSession session,String eventID);
	
	public boolean checkSubmit4Tag(HttpSession session,String eventID);
	
	public boolean agreeLower4Tag(HttpSession session,String eventID);
}
